﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Configuration;

namespace IPSWeb.Logic
{
    public class PSConfigurationManager
    {
        public static List<string> GetPSSnapInsToAdd()
        {
            string value = ConfigurationManager.AppSettings["AddPSSnapIns"];
            if (!string.IsNullOrEmpty(value))
                return value.Split(';').ToList();
            else
                return new List<string>();
        }
        public static List<string> GetPSSnapInsToRemove()
        {
            string value = ConfigurationManager.AppSettings["RemovePSSnapIns"];
            if (!string.IsNullOrEmpty(value))
                return value.Split(';').ToList();
            else
                return new List<string>();
        }
    }
}
